www.gusucode.com > 云网互动影视系统(12套模版和资源联盟) 6.2 > 云网互动影视系统(12套模版和资源联盟) 6.2.4/免费版/Admin/Labeling/LocationLeb.asp

    <html>
<head>
<META content=ywnt,云网互动影视管理系统 name=keywords>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>云网互动影视6.0--位置导航标签</title>
<LINK href="../css/css.css" type=text/css rel=stylesheet>
</head>
<BODY leftMargin=0 topMargin=0 scroll=yes MARGINHEIGHT="0" MARGINWIDTH="0">
<script language="JavaScript" src="../YWNT_TMS_Inc/YWNT_TMS_Common.js"></script>
<!--#include file="../../Conn.asp" -->
<!--#include file="../YWNT_TMS_inc/YWNT_TMS_Function.asp" -->
<table class=table cellspacing=1 cellpadding=3 width="98%" align=center border=0>
  <tbody>
    <tr>
      <td colspan="4" class=xingmu>位置导航标签</td>
    </tr>
	  <form method="post" name="LocationForm">
	 <tr>
      <td height=32 align="right" class="hback">链接Css:</td>
      <td height=32 colspan="3" class="hback"><input name="LinkCss" type="text"></td>
    </tr>
    <tr>
      <td height=32 colspan="4" align="center" class="hback"><input type="button" onClick="ok(this.form)" name="Submit" value="添加"></td>
    </tr>
	</form>
  </tbody>
</table>
<script language="JavaScript">
	function ok(obj)
	{
		var retV = '{$Location(';
		retV+= formvalue2(obj.LinkCss.value) + ',';
		retV+= 'TemplateType' + ',';
		retV+= 'Typeid' + ')';
		retV+='}';
		InsertLabel(retV)
	}
	function formvalue2(namevalue2)
{
	if(namevalue2=="")
	{
		namevalue2='""';
	}
	else
	{
	namevalue2='"'+namevalue2+'"'
	}
		return namevalue2;
}
<%if Request.QueryString("text")=1 then%>
function InsertLabel(LabelContent)
{
	window.returnValue=LabelContent;
	window.close();
}
window.onunload=SetReturnValue;
function SetReturnValue()
{
	if (typeof(window.returnValue)!='string') window.returnValue='';
}
<%else%>
function InsertLabel(LabelContent)
{
	var obj=dialogArguments.oUtil.obj;
	obj.insertHTML(LabelContent)
	window.close();
}
<%end if%>
</script>
</BODY></HTML>